package com.wft.mediator;

public class CDDriver extends Colleague {
    public CDDriver(IMediator mediator) {
        super(mediator);
    }

    private String data = "";

    public String getData() {
        return data;
    }

    public void readCD(){
        // 逗号分隔视频数据和声音数据
        this.data = "hello,word";
        this.getMediator().changed(this);
    }
}
